<?php
declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

final class AddColumnDescriptionInReviewRequestTable extends AbstractMigration
{
    public function up()
    {
        $this->table("review_request")
            ->addColumn('description', 'text', ['null' => true, 'comment' => '描述'])
            ->save();
    }

    public function down()
    {
        $this->table('review_request')->removeColumn('description')->save();
    }
}
